import axios from "@/utils/request.js";
// 医院综合-添加科室  /department/add
export const departmentAddReq = (params) =>
  axios({
    url: "/department/add",
    params,
    method: "get",
  });
// 医院综合-获取科室列表 /department/list
export const departmentListReq = (params) =>
  axios({
    url: "/department/list",
    params,
    method: "get",
  });
//医院综合-根据科室名称查询数据列表  /department/search
export const departmentSearchReq = (params) =>
  axios({
    url: "/department/search",
    params,
    method: "get",
  });
//医院综合-批量删除科室 /department/batchdel
export const departmentBatchdelReq = (params) =>
  axios({
    url: "/department/batchdel",
    params,
    method: "get",
  });
//医院综合-删除科室 /department/del
export const departmentDelReq = (params) =>
  axios({
    url: "/department/del",
    params,
    method: "get",
  });
//医院综合-修改科室数据  /department/edit
export const departmentEditReq = (params) =>
  axios({
    url: "/department/edit",
    params,
    method: "get",
  });
